<!--suppress ALL -->
<include file="./Template/header.html" />
<link rel="stylesheet" type="text/css" href="/Template/css/myBooking.css">
<script type="text/javascript">

	$(function() {

		//初始化页面配置
		initPage("我的预约");

		var app = new Vue({
			el: '#container',
			data: {
				orderList: [],
			},
			methods: {
				orderInfo: function(id) {
					window.location.href = "/wechat/userCenter/orderInfo/id/"+id;
				},
			}
		})


	});


</script>
<div class="container" id="container">
	<if condition="$list eq null">
		<div class="no-data">暂无数据</div>
	</if>
	<foreach name="list" item="vo">
		<div class="activity-info">
			<div class="bg-img">
				<img src="{$vo.product_image}" alt="">
			</div>
			<p class="activity-title">{$vo.product_name}</p>
			<p class="activity-detail">
				<img class="pic" src="/Template/images/icon-time.png" alt="">
				时间：
				<span class="activity-date">{$vo.booking_time}</span>
			</p>
			<p class="activity-detail">
				<img class="pic" src="/Template/images/icon-phone.png" alt="">
				联系方式：
				<span class="phone-number">{$vo.mobile}</span>
			</p>
			<p class="activity-detail">
				<img class="pic" src="/Template/images/icon-user.png" alt="">
				服务类型：
				<span class="wanted-number">{:getEnumString(C("BOOKING_TYPE"), $vo["booking_type"])}</span>
			</p>
			<if condition="$vo['booking_type'] eq 1">
				<p class="activity-detail">
					<img class="pic" src="/Template/images/icon-address.png" alt="">
					地点：<span class="address">{$vo.shop_address}</span>
				</p>
			<elseif condition="$vo['booking_type'] eq 2"/>
				<p class="activity-detail">
					<img class="pic" src="/Template/images/icon-address.png" alt="">
					地点：<span class="address">{$vo.address}</span>
				</p>
			</if>
		</div>
	</foreach>
</div>

<include file="./Template/footer.html" />

